<!-- Navigation -->
<nav id="main-menu">
<ul>
  <li
    <?php echo (Yii::app()->controller->id == 'site' && Yii::app()->controller->action->id == 'index')?'class="current_page_item"':''?>>
    <a href="<?php echo Yii::app()->baseUrl?>" title=""> <?php echo Yii::t('zii', 'Home')?>
    </a> <span> </span>
  </li>

  <li
    <?php echo (Yii::app()->controller->id == 'category')?'class="current_page_item"':''?>>
    <a href="<?php echo Yii::app()->baseUrl?>/admin/category"
      title="<?php echo Yii::t('default', 'Items')?>"> <?php echo Yii::t('default', 'Items')?>
  </a> <span> </span>
    <ul class="sub-menu" style="display: none; opacity: 1;">
      <li
        class="<?php echo (Yii::app()->controller->id == 'category')?'current_page_item':''?>">
        <a href="<?php echo Yii::app()->baseUrl?>/admin/category"
          title="<?php echo Yii::t('default', 'Categories')?>"> <?php echo Yii::t('default', 'Categories')?>
        </a>
      </li>
      <li
        class="<?php echo (Yii::app()->controller->id == 'slideshow')?'current_page_item':''?>">
        <a href="<?php echo Yii::app()->baseUrl?>/admin/slideshow"
          title="<?php echo Yii::t('default', 'Slideshow')?>"> <?php echo Yii::t('default', 'Slideshow')?>
        </a>
      </li>
    </ul> 
  </li>

  <li
    <?php echo (Yii::app()->controller->id == 'product')?'class="current_page_item"':''?>>
    <a href="<?php echo Yii::app()->baseUrl?>/admin/product"
      title="<?php echo Yii::t('default', 'Products')?>"> <?php echo Yii::t('default', 'Products')?>
    </a> <span> </span>
  </li>
  
  <li
    <?php echo (Yii::app()->controller->id == 'article')?'class="current_page_item"':''?>>
    <a href="<?php echo Yii::app()->baseUrl?>/admin/article"
      title="<?php echo Yii::t('default', 'Article')?>"> <?php echo Yii::t('default', 'Article')?>
    </a> <span> </span>
  </li>
  
  <li
    <?php echo (Yii::app()->controller->id == 'admininfo')?'class="current_page_item"':''?>>
    <a href="<?php echo Yii::app()->baseUrl?>/admin/information"
      title="<?php echo Yii::t('default', 'Setting')?>"> <?php echo Yii::t('default', 'Setting')?>
    </a> <span> </span>
    <ul class="sub-menu" style="display: none; opacity: 1;">
      <li
        <?php echo (Yii::app()->controller->id == 'admininfo')?'class="current_page_item"':''?>>
        <a href="<?php echo Yii::app()->baseUrl?>/admin/information"
        title="<?php echo Yii::t('default', 'Admin Information')?>"> <?php echo Yii::t('default', 'Admin Information')?>
        </a>
      </li>
      <li
        <?php echo (Yii::app()->controller->id == 'about')?'class="current_page_item"':''?>>
        <a href="<?php echo Yii::app()->baseUrl?>/admin/about"
        title="<?php echo Yii::t('default', 'About Page')?>"> <?php echo Yii::t('default', 'About Page')?>
        </a>
      </li>
    </ul>
  </li>
</ul>
</nav>
<!-- Navigation - End -->
